<div class="row">
	<div class="col-xs-12">
		<table id="dataTable" style="background-color: #fff" class="table table-bordered responsive-utilities">
			<tr >
				<td valign="top" width="100" class="td_lable lang">连接池版本</td>
				<td id="DruidVersion" width="95%"></td>
			</tr>
			<tr >
				<td valign="top" class="td_lable lang">数据库链接驱动</td>
				<td id="DruidDrivers"></td>
			</tr>
			<tr >
				<td valign="top" class="td_lable lang">重置打开</td>
				<td id="ResetEnable"></td>
			</tr>
			<tr >
				<td valign="top" class="td_lable lang">重置次数</td>
				<td id="ResetCount"></td>
			</tr>
			<tr >
				<td valign="top" class="td_lable lang">Java版本</td>
				<td id="JavaVersion"></td>
			</tr>
			<tr >
				<td valign="top" class="td_lable lang">JVM名称</td>
				<td id="JavaVMName"></td>
			</tr>
			<tr>
				<td valign="top" class="td_lable lang">Java类路径</td>
				<td id="JavaClassPath"></td>
			</tr>
			<tr >
				<td valign="top" class="td_lable lang">启动时间</td>
				<td id="StartTime"></td>
			</tr>
		</table>
	</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
	$.ajax({
		type: 'POST',
		url: "system/monitor/druid/res/basic.json",
		success: function(data) {
			$("#DruidVersion").text(data.Content.Version)
			var driversList = data.Content.Drivers;
			if (driversList) {
				var driverHtml = '';
				for ( var i = 0; i < driversList.length; i++) {
					var driver = driversList[i];
					driverHtml += driver + '<br/>';
				}
				$("#DruidDrivers").html(driverHtml);
			}
			$("#ResetEnable").text(data.Content.ResetEnable)
			$("#ResetCount").text(data.Content.ResetCount)
			$("#JavaVersion").text(data.Content.JavaVersion)
			$("#JavaVMName").text(data.Content.JavaVMName)
			$("#JavaClassPath").html(data.Content.JavaClassPath.split(/;|:/).join("<br/>"))
			$("#StartTime").text(data.Content.StartTime)
		},
		dataType: "json"
	});
	
});
</script>